package com.example.design.pattern.structure.adapter.impl;

import com.example.design.pattern.structure.adapter.Log;
import com.example.design.pattern.structure.adapter.adaptee.AdapteeLog;

public class AdapterLog implements Log {

    private AdapteeLog adapteeLog;

    public AdapterLog() {
        
    }
    
    public AdapterLog(AdapteeLog adapteeLog) {
        this.adapteeLog = adapteeLog;
    }
    
    @Override
    public void info(String s) {
        adapteeLog.info(s);
    }

}
